package com.spm.librarianmanagersystem.pojo;

import com.alibaba.fastjson.annotation.JSONField;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.Date;


@NoArgsConstructor
@AllArgsConstructor
@Data
public class Reservation {
    /**
     * @Class: Reservation
     * @Author: Wei Junwei
     * @Time: 23:04 2022/3/28
     * @Description:
     */
    @JSONField(name = "reservation_id")
    private Integer reservationId;

    @JSONField(name = "ISBN")
    private String ISBN;

    @JSONField(serialize = false)
    private Integer userId;

    @JSONField(name = "reservation_time")
    private Date reservationTime;

    @JSONField(name = "status")
    private Integer status;
}
